package cn.yza.设计模式.代理模式.动态代理.demo2;

/**
 * @author Honglixi
 * @create 2021-11-01 20:18
 */
public class UsbFactory implements UsbSell{
    @Override
    public float sell(int amount) {
        return 100.0f * amount;
    }

    @Override
    public String sayHello() {
        System.out.println("Hello World");
//        return null;
        return "123";
    }
}
